package org.jeecg.modules.my.zhisk.mapper;

import java.util.List;

import org.jeecg.modules.my.zhisk.entity.ZhiskLanm;
import org.jeecg.modules.my.zhisk.entity.ZhiskWenz;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Description: 知识库文章
 * @Author: jeecg-boot
 * @Date:   2021-08-21
 * @Version: V1.0
 */
public interface ZhiskWenzMapper extends BaseMapper<ZhiskWenz> {

	public boolean deleteByMainId(@Param("mainId") String mainId);
    
	public List<ZhiskWenz> selectByMainId(@Param("mainId") String mainId);

	List<ZhiskLanm> selectListLeftJoinZhiskLanm(String key);
}
